package com.tms.springboot.base.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 司机驾驶证表
 * </p>
 *
 * @author cjj
 * @since 2023-06-14
 */
@Getter
@Setter
@TableName("pd_truck_driver_license")
public class PdTruckDriverLicense implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    /**
     * 用户id
     */
    @TableField("user_id")
    private String userId;

    /**
     * 准驾车型
     */
    @TableField("allowable_type")
    private String allowableType;

    /**
     * 初次领证日期
     */
    @TableField("initial_certificate_date")
    private LocalDate initialCertificateDate;

    /**
     * 有效期限
     */
    @TableField("valid_period")
    private String validPeriod;

    /**
     * 驾驶证号
     */
    @TableField("license_number")
    private String licenseNumber;

    /**
     * 驾龄
     */
    @TableField("driver_age")
    private Integer driverAge;

    /**
     * 驾驶证类型
     */
    @TableField("license_type")
    private String licenseType;

    /**
     * 从业资格证信息
     */
    @TableField("qualification_certificate")
    private String qualificationCertificate;

    /**
     * 入场证信息
     */
    @TableField("pass_certificate")
    private String passCertificate;

    /**
     * 图片
     */
    @TableField("picture")
    private String picture;


}
